package com.baizhi.dao;

import com.baizhi.entity.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GuruDao {
    List<Guru> selectAllGuru(@Param("offset") int offset,@Param("limit")int limit,@Param("guruNickName") String guruNickName);
    int selectCount(@Param("guruNickName") String guruNickName);
    int insertGuru(Guru guru);
    int updateGuru(Guru guru);
    int updateGuru1(Guru guru);
    //更改上师状态
    int updateGuruStatus(Guru guru);
    Guru selectByGuruId(int guruId);
    List<Guru> selectAll();

    int deleteGuru(int guruId);

}
